/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Controller;

import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author asouza
 */
public class Carteiro implements Comparable<Carteiro> {

        private int id;
        private List<Edge> edges;

        public Carteiro (int identifier, LinkedList<Edge> edgesList) {
            id = identifier;
            edges = edgesList;
        }

        public Carteiro () {

        }

        public void compareTo() {
            
        }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<Edge> getEdges() {
        return edges;
    }

    public void setEdges(List<Edge> edges) {
        this.edges = edges;
    }

    public int compareTo(Carteiro b) {
        return this.id - b.getId();
    }
}
